package com.entity;

public class CatPost {
    private int id;
    private String posttitle;//帖子标题
    private String catgender;//猫咪性别
    private int catsge;//猫咪年龄
    private String ym;//疫苗情况
    private String qc;//驱虫情况
    private int money;//异地运费
    private String cz;//是否纯种
    private String tel;//联系电话
    private String people;//联系人
    private String qq;//联系QQ
    private String wechat;//微信账号
    private int dsnum;//待售数量
    private int catpice;//猫咪价格
    private String username;//发帖用户
    private String description;//帖子描述
    private String catbreed;//喵咪品种
    private String state;//状态
    private String pic1;//图片1
    private String pic2;//图片2
    private String pic3;//图片3
    private String pic4;//图片4

    public CatPost() {
    }

    public CatPost(String posttitle, String catgender, int catsge, String ym, String qc, int money, String cz, String tel, String people, String qq, String wechat, int dsnum, int catpice, String username, String description, String catbreed, String state, String pic1, String pic2, String pic3, String pic4) {
        this.posttitle = posttitle;
        this.catgender = catgender;
        this.catsge = catsge;
        this.ym = ym;
        this.qc = qc;
        this.money = money;
        this.cz = cz;
        this.tel = tel;
        this.people = people;
        this.qq = qq;
        this.wechat = wechat;
        this.dsnum = dsnum;
        this.catpice = catpice;
        this.username = username;
        this.description = description;
        this.catbreed = catbreed;
        this.state = state;
        this.pic1 = pic1;
        this.pic2 = pic2;
        this.pic3 = pic3;
        this.pic4 = pic4;
    }

    public CatPost(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "CatPost{" +
                "id=" + id +
                ", posttitle='" + posttitle + '\'' +
                ", catgender='" + catgender + '\'' +
                ", catsge=" + catsge +
                ", ym='" + ym + '\'' +
                ", qc='" + qc + '\'' +
                ", money=" + money +
                ", cz='" + cz + '\'' +
                ", tel='" + tel + '\'' +
                ", people='" + people + '\'' +
                ", qq='" + qq + '\'' +
                ", wechat='" + wechat + '\'' +
                ", dsnum=" + dsnum +
                ", catpice=" + catpice +
                ", username='" + username + '\'' +
                ", description='" + description + '\'' +
                ", catbreed='" + catbreed + '\'' +
                ", state='" + state + '\'' +
                ", pic1='" + pic1 + '\'' +
                ", pic2='" + pic2 + '\'' +
                ", pic3='" + pic3 + '\'' +
                ", pic4='" + pic4 + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPosttitle() {
        return posttitle;
    }

    public void setPosttitle(String posttitle) {
        this.posttitle = posttitle;
    }

    public String getCatgender() {
        return catgender;
    }

    public void setCatgender(String catgender) {
        this.catgender = catgender;
    }

    public int getCatsge() {
        return catsge;
    }

    public void setCatsge(int catsge) {
        this.catsge = catsge;
    }

    public String getYm() {
        return ym;
    }

    public void setYm(String ym) {
        this.ym = ym;
    }

    public String getQc() {
        return qc;
    }

    public void setQc(String qc) {
        this.qc = qc;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public int getDsnum() {
        return dsnum;
    }

    public void setDsnum(int dsnum) {
        this.dsnum = dsnum;
    }

    public int getCatpice() {
        return catpice;
    }

    public void setCatpice(int catpice) {
        this.catpice = catpice;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCatbreed() {
        return catbreed;
    }

    public void setCatbreed(String catbreed) {
        this.catbreed = catbreed;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    public String getPic2() {
        return pic2;
    }

    public void setPic2(String pic2) {
        this.pic2 = pic2;
    }

    public String getPic3() {
        return pic3;
    }

    public void setPic3(String pic3) {
        this.pic3 = pic3;
    }

    public String getPic4() {
        return pic4;
    }

    public void setPic4(String pic4) {
        this.pic4 = pic4;
    }

    public CatPost(int id, String posttitle, String catgender, int catsge, String ym, String qc, int money, String cz, String tel, String people, String qq, String wechat, int dsnum, int catpice, String username, String description, String catbreed, String state, String pic1, String pic2, String pic3, String pic4) {
        this.id = id;
        this.posttitle = posttitle;
        this.catgender = catgender;
        this.catsge = catsge;
        this.ym = ym;
        this.qc = qc;
        this.money = money;
        this.cz = cz;
        this.tel = tel;
        this.people = people;
        this.qq = qq;
        this.wechat = wechat;
        this.dsnum = dsnum;
        this.catpice = catpice;
        this.username = username;
        this.description = description;
        this.catbreed = catbreed;
        this.state = state;
        this.pic1 = pic1;
        this.pic2 = pic2;
        this.pic3 = pic3;
        this.pic4 = pic4;
    }
}
